<%--
  Created by IntelliJ IDEA.
  User: bi
  Date: 2019/1/2
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="/css/style.css" />
</head>
<c:if test="${user ne null}">
    <frameset rows="100,*" cols="*" frameborder="no" border="0" framespacing="0">
        <frame src="admin_top.jsp" name="topFrame" scrolling="no" noresize="noresize" id="topFrame2" />
        <frameset cols="200,*" frameborder="no" border="0" framespacing="0">
            <frame src="admin_left.jsp" name="leftFrame" scrolling="no" noresize="noresize" id="leftFrame" />
            <frame src="mainFrame.jsp" name="mainFrame" id="mainFrame2" />
        </frameset>
    </frameset>

    <noframes><body>
    </body></noframes>
</c:if>


<c:if test="${user eq null }">
    <frameset rows="100,*" cols="*" frameborder="no" border="0" framespacing="0">
        <frame src="admin_top.jsp" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" />
        <frame src="main_Frame.jsp" name="mainFrame" id="mainFrame" />
    </frameset>
</c:if>
</html>
